from django.test import TestCase
from extremeKanban.kanban.exception import UnknownMethodException

class SimpleTest(TestCase):
	def test_UnknownMethodException(self):
		"""UnknownMethodException : Can create an exception"""
		exception = UnknownMethodException("method_name")
		self.failUnlessEqual(str(exception), "Unknown method : method_name")
		self.failUnlessEqual(-32601, exception.code)
